import request from '@/utils/request'

// 客户充值
export function addUserRecharge(data) {
  return request({
    url: '/capital/add_user_recharge',
    method: 'post',
    data
  })
}
// 获取账户列表
export function getAccountList(params) {
  return request({
    url: '/capital/get_account_list',
    method: 'get',
    params
  })
}
//  客户在线支付充值
export function postAddRechargeByPay(data) {
  return request({
    url: '/capital/add_recharge_by_pay',
    method: 'post',
    data
  })
}
